package com.ryan.statistic.feignclient;

import com.ryan.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * member模块的远程调用
 */
@Component
@FeignClient(value = "member-service")
public interface MemberClient {
    @GetMapping("/ucenter/countRegister/{day}")
    R countRegister(@PathVariable("day") String day);
}
